phpseclib3\Crypt\Common\SymmetricKey D

Total Complexity 380
Dependencies 17
Dependents 2
Total lines 3,344
Lines of code 1,782
Logical lines of code 1,036
Comment lines 1,190
Methods 49
Properties 41

Methods 49

Method Rating Maintainability Complexity Lines of code
decrypt()
D
13
74 329
encrypt()
D
13
70 329
createInlineCryptFunction()
D
20
11 420
setPassword()
C
32 28 95
setup()
B
37 21 66
openssl_ctr_process()
B
40 16 64
__construct()
A
47 13 35
initialize_static_variables()
A
52 13 22
isValidEngineHelper()
A
48 12 36
setEngine()
A
47 8 40
openssl_translate_mode()
A
59 8 17
openssl_ofb_process()
A
49 7 32
setTag()
S
59 8 13
pkcs12helper()
S
48 6 33
getTag()
S
58 7 14
setIV()
S
57 5 16
setPoly1305Key()
S
59 5 13
setupGCM()
S
56 4 18
safe_intval()
S
62 5 10
unpad()
S
62 4 10
safe_intval_inline()
S
67 4 7
setPreferredEngine()
S
63 4 10
pad()
S
60 3 12
isValidEngine()
S
62 3 12
poly1305()
S
54 2 20
disableContinuousBuffer()
S
65 3 10
setKey()
S
65 3 8
enableContinuousBuffer()
S
64 3 10
setKeyLength()
S
67 3 7
setAAD()
S
69 3 6
ghash()
S
58 2 15
setNonce()
S
68 2 7
usesIV()
S
79 2 3
getIV()
S
77 2 3
enablePoly1305()
S
70 2 6
getMode()
S
79 1 3
nullPad128()
S
73 1 4
len64()
S
77 1 3
enablePadding()
S
81 1 3
setupKey()
S
100 1 0
decryptBlock()
S
100 1 0
encryptBlock()
S
100 1 0
getEngine()
S
80 1 3
disablePadding()
S
81 1 3
getBlockLengthInBytes()
S
82 1 3
getBlockLength()
S
80 1 3
getKeyLength()
S
80 1 3
usesNonce()
S
80 1 3
continuousBufferEnabled()
S
82 1 3